﻿using ST.Common.Util.Mvc;
using System;
using System.Collections.Generic;
using System.Text;

namespace ST.Buz.Base.ViewModel
{
    public partial class VMS_Sys_TableLog : BaseSearchModel
    {
        public int infoid { get; set; }

        public int tblid { get; set; }

        public DateTime date_s { get; set; }

        public DateTime date_e { get; set; }

        public string content { get; set; }

        public string logman { get; set; }

        public int? logmanid { get; set; }

        public string logmanip { get; set; }

        public int[] ids { get; set; }

        public override void Validate()
        {
            base.Validate();
            if (infoid <= 0 || tblid <= 0)
            {
                throw new ArgumentException("相关记录参数不能为空");
            }
        }
    }
}
